package com.spring.schedule_system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
@TableName(value = "tb_classroom")
public class Classroom implements Serializable {
    @TableId(value="classroom_id",type = IdType.AUTO)
    private Integer classroom_id;
    private String classroom_address;
    private String classroom_name;
    private Integer classroom_count;
    private String classroom_remarks;
    private String classroom_attribute;
    private Integer classroom_status;
    @TableField(fill = FieldFill.INSERT)
    private Date create_time;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Date update_time;
    @TableLogic//该注解可以用于逻辑删除数据，1代表删除，0代表不删除，默认是0
    @TableField(fill = FieldFill.INSERT)
    private Integer is_delete;
}
